From 17d9e94682303bb9c2f3eb09a6d70a2497349c81 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Jan 2016 11:50:22 -0500 Subject: [PATCH] testoffscreen: Remove deprecated calls Not doing these calls doesn't seem to affect the demo, so lets just remove them. --- tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c index 29140a1f4f..2fb20ef7db 100644 --- a/tests/gtkoffscreenbox.c +++ b/tests/gtkoffscreenbox.c @@ -346,9 +346,6 @@ gtk_offscreen_box_realize (GtkWidget *widget) G_CALLBACK (offscreen_window_from_parent2), offscreen_box); context = gtk_widget_get_style_context (widget); - gtk_style_context_set_background (context, window); - gtk_style_context_set_background (context, offscreen_box->offscreen_window1); - gtk_style_context_set_background (context, offscreen_box->offscreen_window2); gdk_window_show (offscreen_box->offscreen_window1); gdk_window_show (offscreen_box->offscreen_window2); -- 2.30.2